package com.scm.persist.mybatis;

import com.scm.persist.model.ScmInquiry;
import com.scm.persist.model.ScmInquiryExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmInquiryMapper {
    int countByExample(ScmInquiryExample example);

    int deleteByExample(ScmInquiryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmInquiry record);

    int insertSelective(ScmInquiry record);

    List<ScmInquiry> selectByExampleWithRowbounds(ScmInquiryExample example, RowBounds rowBounds);

    List<ScmInquiry> selectByExample(ScmInquiryExample example);

    ScmInquiry selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmInquiry record, @Param("example") ScmInquiryExample example);

    int updateByExample(@Param("record") ScmInquiry record, @Param("example") ScmInquiryExample example);

    int updateByPrimaryKeySelective(ScmInquiry record);

    int updateByPrimaryKey(ScmInquiry record);
}